/**
 * Author: feixy
 * Date: 2019-10-16
 * Time: 20:16
 */
import request from '@/utils/request';

const PRE_URL = '/forecast/dimension';
/**
 * 获取城市列表
 * @param {*} params
 */
export async function listCity() {
  return request(`${PRE_URL}/listCity`, {
    method: 'POST',
  });
}
/**
 * 获取仓库列表
 * @param {*} params
 */
export async function listWarehouse() {
  return request(`${PRE_URL}/listWarehouse`, {
    method: 'POST',
  });
}

export async function listAllCity() {
  return request(`${PRE_URL}/listAllCity`, {
    method: 'POST',
  });
}

export async function listAllWarehouse() {
  return request(`${PRE_URL}/listAllWarehouse`, {
    method: 'POST',
  });
}
